package com.farm.web.job;

import javax.annotation.Resource;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import com.farm.learn.service.PlaytimeServiceInter;
import com.farm.util.spring.BeanFactory;

public class LoadPlayCacheJob implements Job {
	@Resource
	private static PlaytimeServiceInter playTimeServiceImpl = (PlaytimeServiceInter) BeanFactory
			.getBean("playtimeServiceImpl");

	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		// 加载播放信息缓存记录
		playTimeServiceImpl.loadPlayCache();
	}

}
